package com.song.corebean;

import java.io.Serializable;



public class PackageMessage implements Serializable{
	
	public PackageHead head;
	
	public  PackageBody body;

	
	
	public PackageMessage(PackageHead head, PackageBody body) {
		super();
		this.head = head;
		this.body = body;
	}
	
	
	public PackageMessage() {
		super();
		this.head = new PackageHead();
		this.body = new PackageBody();
	}


	public PackageHead getHead() {
		return head;
	}

	public void setHead(PackageHead head) {
		this.head = head;
	}

	public PackageBody getBody() {
		return body;
	}

	public void setBody(PackageBody body) {
		this.body = body;
	}


	@Override
	public String toString() {
		return "PackageMessage [head=" + head + ", body=" + body + "]";
	}
	
	
	
}
